<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:s="http://jboss.com/products/seam/taglib">

   <div class="article">
      <h1>#{article.title}</h1>
      <s:div rendered="#{identity.hasRole('admin')}">
         <h:outputText styleClass="creationDate" value="#{article.creationDate}">
            <s:convertDateTime type="date" dateStyle="full"/>
         </h:outputText>
      </s:div>
      <h:outputText value="#{article.author.name}" styleClass="author"/>
      <s:formattedText value="#{article.body}" styleClass="articleBody"/>
   </div>

</ui:composition>